package com.ourteam.system.dao;

/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:22
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.lang.StringUtils;


public class SysEventLog implements java.io.Serializable {
    private long id;

    /**
     * Attribute id Be Seted Falg
     */
    private boolean idSetted = false;

    /**
    * Attribute id is Null Falg
    */
    private boolean idNull = false;
    private String eventLevel;

    /**
     * Attribute eventLevel Be Seted Falg
     */
    private boolean eventLevelSetted = false;

    /**
    * Attribute eventLevel is Null Falg
    */
    private boolean eventLevelNull = false;
    private long eventTypeId;

    /**
     * Attribute eventTypeId Be Seted Falg
     */
    private boolean eventTypeIdSetted = false;

    /**
    * Attribute eventTypeId is Null Falg
    */
    private boolean eventTypeIdNull = false;
    private String eventSource;

    /**
     * Attribute eventSource Be Seted Falg
     */
    private boolean eventSourceSetted = false;

    /**
    * Attribute eventSource is Null Falg
    */
    private boolean eventSourceNull = false;
    private String eventContent;

    /**
     * Attribute eventContent Be Seted Falg
     */
    private boolean eventContentSetted = false;

    /**
    * Attribute eventContent is Null Falg
    */
    private boolean eventContentNull = false;
    private java.util.Date eventTime;

    /**
     * Attribute eventTime Be Seted Falg
     */
    private boolean eventTimeSetted = false;

    /**
    * Attribute eventTime is Null Falg
    */
    private boolean eventTimeNull = false;
    private String eventOperator;

    /**
     * Attribute eventOperator Be Seted Falg
     */
    private boolean eventOperatorSetted = false;

    /**
    * Attribute eventOperator is Null Falg
    */
    private boolean eventOperatorNull = false;
    private long eventOperatorId;

    /**
     * Attribute eventOperatorId Be Seted Falg
     */
    private boolean eventOperatorIdSetted = false;

    /**
    * Attribute eventOperatorId is Null Falg
    */
    private boolean eventOperatorIdNull = false;
    private String eventOperatorClient;

    /**
     * Attribute eventOperatorClient Be Seted Falg
     */
    private boolean eventOperatorClientSetted = false;

    /**
    * Attribute eventOperatorClient is Null Falg
    */
    private boolean eventOperatorClientNull = false;
    private String eventData;

    /**
     * Attribute eventData Be Seted Falg
     */
    private boolean eventDataSetted = false;

    /**
    * Attribute eventData is Null Falg
    */
    private boolean eventDataNull = false;
    private long eventSourceId;

    /**
     * Attribute eventSourceId Be Seted Falg
     */
    private boolean eventSourceIdSetted = false;

    /**
    * Attribute eventSourceId is Null Falg
    */
    private boolean eventSourceIdNull = false;
    private String eventTypeCode;

    /**
     * Attribute eventTypeCode Be Seted Falg
     */
    private boolean eventTypeCodeSetted = false;

    /**
    * Attribute eventTypeCode is Null Falg
    */
    private boolean eventTypeCodeNull = false;
    private String eventTypeName;

    /**
     * Attribute eventTypeName Be Seted Falg
     */
    private boolean eventTypeNameSetted = false;

    /**
    * Attribute eventTypeName is Null Falg
    */
    private boolean eventTypeNameNull = false;
    private String eventTypeStatus;

    /**
     * Attribute eventTypeStatus Be Seted Falg
     */
    private boolean eventTypeStatusSetted = false;

    /**
    * Attribute eventTypeStatus is Null Falg
    */
    private boolean eventTypeStatusNull = false;
    private long eventDomainId;

    /**
     * Attribute eventDomainId Be Seted Falg
     */
    private boolean eventDomainIdSetted = false;

    /**
    * Attribute eventDomainId is Null Falg
    */
    private boolean eventDomainIdNull = false;
    private String eventDomainCode;

    /**
     * Attribute eventDomainCode Be Seted Falg
     */
    private boolean eventDomainCodeSetted = false;

    /**
    * Attribute eventDomainCode is Null Falg
    */
    private boolean eventDomainCodeNull = false;
    private String operatorName;

    /**
     * Attribute operatorName Be Seted Falg
     */
    private boolean operatorNameSetted = false;

    /**
    * Attribute operatorName is Null Falg
    */
    private boolean operatorNameNull = false;

    public SysEventLog() {
        super();
    }

    /**
         * Get id
         *
         * @return long
         */
    final public long getId() {
        return id;
    }

    /**
     * Set id
     *
     * @param long
     */
    final public void setId(long id) {
        this.id = id;

        this.idSetted = true;

        this.setIdNull(false);
    }

    /**
     * Get id Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIdSetted() {
        return this.idSetted;
    }

    /**
     * Set id Null
     *
     */
    final public void setIdNull() {
        this.idNull = true;
    }

    final public void setIdNull(boolean aNullFlag) {
        this.idNull = aNullFlag;
    }

    final public boolean isIdNull() {
        return this.idNull;
    }

    /**
         * Get eventLevel
         *
         * @return String
         */
    final public String getEventLevel() {
        if (isEventLevelNull()) {
            return null;
        } else {
            return StringUtils.trim(eventLevel);
        }
    }

    /**
     * Set eventLevel
     *
     * @param String
     */
    final public void setEventLevel(String eventLevel) {
        this.eventLevel = StringUtils.trim(eventLevel);

        this.eventLevelSetted = true;

        this.setEventLevelNull(this.eventLevel == null);
    }

    /**
     * Get eventLevel Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventLevelSetted() {
        return this.eventLevelSetted;
    }

    /**
     * Set eventLevel Null
     *
     */
    final public void setEventLevelNull() {
        this.eventLevelNull = true;
    }

    final public void setEventLevelNull(boolean aNullFlag) {
        this.eventLevelNull = aNullFlag;
    }

    final public boolean isEventLevelNull() {
        return this.eventLevelNull;
    }

    /**
         * Get eventTypeId
         *
         * @return long
         */
    final public long getEventTypeId() {
        return eventTypeId;
    }

    /**
     * Set eventTypeId
     *
     * @param long
     */
    final public void setEventTypeId(long eventTypeId) {
        this.eventTypeId = eventTypeId;

        this.eventTypeIdSetted = true;

        this.setEventTypeIdNull(false);
    }

    /**
     * Get eventTypeId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventTypeIdSetted() {
        return this.eventTypeIdSetted;
    }

    /**
     * Set eventTypeId Null
     *
     */
    final public void setEventTypeIdNull() {
        this.eventTypeIdNull = true;
    }

    final public void setEventTypeIdNull(boolean aNullFlag) {
        this.eventTypeIdNull = aNullFlag;
    }

    final public boolean isEventTypeIdNull() {
        return this.eventTypeIdNull;
    }

    /**
         * Get eventSource
         *
         * @return String
         */
    final public String getEventSource() {
        if (isEventSourceNull()) {
            return null;
        } else {
            return StringUtils.trim(eventSource);
        }
    }

    /**
     * Set eventSource
     *
     * @param String
     */
    final public void setEventSource(String eventSource) {
        this.eventSource = StringUtils.trim(eventSource);

        this.eventSourceSetted = true;

        this.setEventSourceNull(this.eventSource == null);
    }

    /**
     * Get eventSource Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventSourceSetted() {
        return this.eventSourceSetted;
    }

    /**
     * Set eventSource Null
     *
     */
    final public void setEventSourceNull() {
        this.eventSourceNull = true;
    }

    final public void setEventSourceNull(boolean aNullFlag) {
        this.eventSourceNull = aNullFlag;
    }

    final public boolean isEventSourceNull() {
        return this.eventSourceNull;
    }

    /**
         * Get eventContent
         *
         * @return String
         */
    final public String getEventContent() {
        if (isEventContentNull()) {
            return null;
        } else {
            return StringUtils.trim(eventContent);
        }
    }

    /**
     * Set eventContent
     *
     * @param String
     */
    final public void setEventContent(String eventContent) {
        this.eventContent = StringUtils.trim(eventContent);

        this.eventContentSetted = true;

        this.setEventContentNull(this.eventContent == null);
    }

    /**
     * Get eventContent Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventContentSetted() {
        return this.eventContentSetted;
    }

    /**
     * Set eventContent Null
     *
     */
    final public void setEventContentNull() {
        this.eventContentNull = true;
    }

    final public void setEventContentNull(boolean aNullFlag) {
        this.eventContentNull = aNullFlag;
    }

    final public boolean isEventContentNull() {
        return this.eventContentNull;
    }

    /**
         * Get eventTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getEventTime() {
        return eventTime;
    }

    /**
     * Set eventTime
     *
     * @param java.util.Date
     */
    final public void setEventTime(java.util.Date eventTime) {
        this.eventTime = eventTime;

        this.eventTimeSetted = true;

        this.setEventTimeNull(this.eventTime == null);
    }

    /**
     * Get eventTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventTimeSetted() {
        return this.eventTimeSetted;
    }

    /**
     * Set eventTime Null
     *
     */
    final public void setEventTimeNull() {
        this.eventTimeNull = true;
    }

    final public void setEventTimeNull(boolean aNullFlag) {
        this.eventTimeNull = aNullFlag;
    }

    final public boolean isEventTimeNull() {
        return this.eventTimeNull;
    }

    /**
         * Get eventOperator
         *
         * @return String
         */
    final public String getEventOperator() {
        if (isEventOperatorNull()) {
            return null;
        } else {
            return StringUtils.trim(eventOperator);
        }
    }

    /**
     * Set eventOperator
     *
     * @param String
     */
    final public void setEventOperator(String eventOperator) {
        this.eventOperator = StringUtils.trim(eventOperator);

        this.eventOperatorSetted = true;

        this.setEventOperatorNull(this.eventOperator == null);
    }

    /**
     * Get eventOperator Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventOperatorSetted() {
        return this.eventOperatorSetted;
    }

    /**
     * Set eventOperator Null
     *
     */
    final public void setEventOperatorNull() {
        this.eventOperatorNull = true;
    }

    final public void setEventOperatorNull(boolean aNullFlag) {
        this.eventOperatorNull = aNullFlag;
    }

    final public boolean isEventOperatorNull() {
        return this.eventOperatorNull;
    }

    /**
         * Get eventOperatorId
         *
         * @return long
         */
    final public long getEventOperatorId() {
        return eventOperatorId;
    }

    /**
     * Set eventOperatorId
     *
     * @param long
     */
    final public void setEventOperatorId(long eventOperatorId) {
        this.eventOperatorId = eventOperatorId;

        this.eventOperatorIdSetted = true;

        this.setEventOperatorIdNull(false);
    }

    /**
     * Get eventOperatorId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventOperatorIdSetted() {
        return this.eventOperatorIdSetted;
    }

    /**
     * Set eventOperatorId Null
     *
     */
    final public void setEventOperatorIdNull() {
        this.eventOperatorIdNull = true;
    }

    final public void setEventOperatorIdNull(boolean aNullFlag) {
        this.eventOperatorIdNull = aNullFlag;
    }

    final public boolean isEventOperatorIdNull() {
        return this.eventOperatorIdNull;
    }

    /**
         * Get eventOperatorClient
         *
         * @return String
         */
    final public String getEventOperatorClient() {
        if (isEventOperatorClientNull()) {
            return null;
        } else {
            return StringUtils.trim(eventOperatorClient);
        }
    }

    /**
     * Set eventOperatorClient
     *
     * @param String
     */
    final public void setEventOperatorClient(String eventOperatorClient) {
        this.eventOperatorClient = StringUtils.trim(eventOperatorClient);

        this.eventOperatorClientSetted = true;

        this.setEventOperatorClientNull(this.eventOperatorClient == null);
    }

    /**
     * Get eventOperatorClient Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventOperatorClientSetted() {
        return this.eventOperatorClientSetted;
    }

    /**
     * Set eventOperatorClient Null
     *
     */
    final public void setEventOperatorClientNull() {
        this.eventOperatorClientNull = true;
    }

    final public void setEventOperatorClientNull(boolean aNullFlag) {
        this.eventOperatorClientNull = aNullFlag;
    }

    final public boolean isEventOperatorClientNull() {
        return this.eventOperatorClientNull;
    }

    /**
         * Get eventData
         *
         * @return String
         */
    final public String getEventData() {
        if (isEventDataNull()) {
            return null;
        } else {
            return StringUtils.trim(eventData);
        }
    }

    /**
     * Set eventData
     *
     * @param String
     */
    final public void setEventData(String eventData) {
        this.eventData = StringUtils.trim(eventData);

        this.eventDataSetted = true;

        this.setEventDataNull(this.eventData == null);
    }

    /**
     * Get eventData Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventDataSetted() {
        return this.eventDataSetted;
    }

    /**
     * Set eventData Null
     *
     */
    final public void setEventDataNull() {
        this.eventDataNull = true;
    }

    final public void setEventDataNull(boolean aNullFlag) {
        this.eventDataNull = aNullFlag;
    }

    final public boolean isEventDataNull() {
        return this.eventDataNull;
    }

    /**
         * Get eventSourceId
         *
         * @return long
         */
    final public long getEventSourceId() {
        return eventSourceId;
    }

    /**
     * Set eventSourceId
     *
     * @param long
     */
    final public void setEventSourceId(long eventSourceId) {
        this.eventSourceId = eventSourceId;

        this.eventSourceIdSetted = true;

        this.setEventSourceIdNull(false);
    }

    /**
     * Get eventSourceId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventSourceIdSetted() {
        return this.eventSourceIdSetted;
    }

    /**
     * Set eventSourceId Null
     *
     */
    final public void setEventSourceIdNull() {
        this.eventSourceIdNull = true;
    }

    final public void setEventSourceIdNull(boolean aNullFlag) {
        this.eventSourceIdNull = aNullFlag;
    }

    final public boolean isEventSourceIdNull() {
        return this.eventSourceIdNull;
    }

    /**
         * Get eventTypeCode
         *
         * @return String
         */
    final public String getEventTypeCode() {
        if (isEventTypeCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(eventTypeCode);
        }
    }

    /**
     * Set eventTypeCode
     *
     * @param String
     */
    final public void setEventTypeCode(String eventTypeCode) {
        this.eventTypeCode = StringUtils.trim(eventTypeCode);

        this.eventTypeCodeSetted = true;

        this.setEventTypeCodeNull(this.eventTypeCode == null);
    }

    /**
     * Get eventTypeCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventTypeCodeSetted() {
        return this.eventTypeCodeSetted;
    }

    /**
     * Set eventTypeCode Null
     *
     */
    final public void setEventTypeCodeNull() {
        this.eventTypeCodeNull = true;
    }

    final public void setEventTypeCodeNull(boolean aNullFlag) {
        this.eventTypeCodeNull = aNullFlag;
    }

    final public boolean isEventTypeCodeNull() {
        return this.eventTypeCodeNull;
    }

    /**
         * Get eventTypeName
         *
         * @return String
         */
    final public String getEventTypeName() {
        if (isEventTypeNameNull()) {
            return null;
        } else {
            return StringUtils.trim(eventTypeName);
        }
    }

    /**
     * Set eventTypeName
     *
     * @param String
     */
    final public void setEventTypeName(String eventTypeName) {
        this.eventTypeName = StringUtils.trim(eventTypeName);

        this.eventTypeNameSetted = true;

        this.setEventTypeNameNull(this.eventTypeName == null);
    }

    /**
     * Get eventTypeName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventTypeNameSetted() {
        return this.eventTypeNameSetted;
    }

    /**
     * Set eventTypeName Null
     *
     */
    final public void setEventTypeNameNull() {
        this.eventTypeNameNull = true;
    }

    final public void setEventTypeNameNull(boolean aNullFlag) {
        this.eventTypeNameNull = aNullFlag;
    }

    final public boolean isEventTypeNameNull() {
        return this.eventTypeNameNull;
    }

    /**
         * Get eventTypeStatus
         *
         * @return String
         */
    final public String getEventTypeStatus() {
        if (isEventTypeStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(eventTypeStatus);
        }
    }

    /**
     * Set eventTypeStatus
     *
     * @param String
     */
    final public void setEventTypeStatus(String eventTypeStatus) {
        this.eventTypeStatus = StringUtils.trim(eventTypeStatus);

        this.eventTypeStatusSetted = true;

        this.setEventTypeStatusNull(this.eventTypeStatus == null);
    }

    /**
     * Get eventTypeStatus Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventTypeStatusSetted() {
        return this.eventTypeStatusSetted;
    }

    /**
     * Set eventTypeStatus Null
     *
     */
    final public void setEventTypeStatusNull() {
        this.eventTypeStatusNull = true;
    }

    final public void setEventTypeStatusNull(boolean aNullFlag) {
        this.eventTypeStatusNull = aNullFlag;
    }

    final public boolean isEventTypeStatusNull() {
        return this.eventTypeStatusNull;
    }

    /**
         * Get eventDomainId
         *
         * @return long
         */
    final public long getEventDomainId() {
        return eventDomainId;
    }

    /**
     * Set eventDomainId
     *
     * @param long
     */
    final public void setEventDomainId(long eventDomainId) {
        this.eventDomainId = eventDomainId;

        this.eventDomainIdSetted = true;

        this.setEventDomainIdNull(false);
    }

    /**
     * Get eventDomainId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventDomainIdSetted() {
        return this.eventDomainIdSetted;
    }

    /**
     * Set eventDomainId Null
     *
     */
    final public void setEventDomainIdNull() {
        this.eventDomainIdNull = true;
    }

    final public void setEventDomainIdNull(boolean aNullFlag) {
        this.eventDomainIdNull = aNullFlag;
    }

    final public boolean isEventDomainIdNull() {
        return this.eventDomainIdNull;
    }

    /**
         * Get eventDomainCode
         *
         * @return String
         */
    final public String getEventDomainCode() {
        if (isEventDomainCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(eventDomainCode);
        }
    }

    /**
     * Set eventDomainCode
     *
     * @param String
     */
    final public void setEventDomainCode(String eventDomainCode) {
        this.eventDomainCode = StringUtils.trim(eventDomainCode);

        this.eventDomainCodeSetted = true;

        this.setEventDomainCodeNull(this.eventDomainCode == null);
    }

    /**
     * Get eventDomainCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isEventDomainCodeSetted() {
        return this.eventDomainCodeSetted;
    }

    /**
     * Set eventDomainCode Null
     *
     */
    final public void setEventDomainCodeNull() {
        this.eventDomainCodeNull = true;
    }

    final public void setEventDomainCodeNull(boolean aNullFlag) {
        this.eventDomainCodeNull = aNullFlag;
    }

    final public boolean isEventDomainCodeNull() {
        return this.eventDomainCodeNull;
    }

    /**
         * Get operatorName
         *
         * @return String
         */
    final public String getOperatorName() {
        if (isOperatorNameNull()) {
            return null;
        } else {
            return StringUtils.trim(operatorName);
        }
    }

    /**
     * Set operatorName
     *
     * @param String
     */
    final public void setOperatorName(String operatorName) {
        this.operatorName = StringUtils.trim(operatorName);

        this.operatorNameSetted = true;

        this.setOperatorNameNull(this.operatorName == null);
    }

    /**
     * Get operatorName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isOperatorNameSetted() {
        return this.operatorNameSetted;
    }

    /**
     * Set operatorName Null
     *
     */
    final public void setOperatorNameNull() {
        this.operatorNameNull = true;
    }

    final public void setOperatorNameNull(boolean aNullFlag) {
        this.operatorNameNull = aNullFlag;
    }

    final public boolean isOperatorNameNull() {
        return this.operatorNameNull;
    }

    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = (prime * result) + (int) (getId() ^ (getId() >>> 32));

        return result;
    }

    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }

        if ((obj instanceof SysEventLog) == false) {
            return false;
        }

        SysEventLog other = (SysEventLog) obj;

        if (getId() != other.getId()) {
            return false;
        }

        return true;
    }

    public String toString() {
        StringBuffer buffer = new StringBuffer();

        buffer.append("[");

        buffer.append("id=");
        buffer.append(this.id);

        buffer.append("eventLevel=");
        buffer.append(this.eventLevel);

        buffer.append("eventTypeId=");
        buffer.append(this.eventTypeId);

        buffer.append("eventSource=");
        buffer.append(this.eventSource);

        buffer.append("eventContent=");
        buffer.append(this.eventContent);

        buffer.append("eventTime=");
        buffer.append(this.eventTime);

        buffer.append("eventOperator=");
        buffer.append(this.eventOperator);

        buffer.append("eventOperatorId=");
        buffer.append(this.eventOperatorId);

        buffer.append("eventOperatorClient=");
        buffer.append(this.eventOperatorClient);

        buffer.append("eventTypeCode=");
        buffer.append(this.eventTypeCode);

        buffer.append("eventTypeName=");
        buffer.append(this.eventTypeName);

        buffer.append("eventTypeStatus=");
        buffer.append(this.eventTypeStatus);

        buffer.append("eventData=");
        buffer.append(this.eventData);

        buffer.append("operatorName=");
        buffer.append(this.operatorName);

        buffer.append("eventDomainId=");
        buffer.append(this.eventDomainId);

        buffer.append("eventDomainCode=");
        buffer.append(this.eventDomainCode);

        buffer.append("eventSourceId=");
        buffer.append(this.eventSourceId);

        buffer.append("]");

        return buffer.toString();
    }
}
